<?php if (!defined('THINK_PATH')) exit();?><!--
 * @Author: your name
 * @Date: 2020-09-26 16:56:47
 * @LastEditTime: 2020-09-27 10:41:44
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \wallhaven\Application\Home\View\Index\index.html
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=">
		<title><?php echo (C("APPENAME")); ?>-<?php echo (C("APPNAME")); ?></title>
		 				
</head>


<body id="mainLay" class="easyui-layout">
<!--遮罩显示start-->
<!-- 	<div id='Loading' style="position:absolute;z-index:1000;top:0px;left:0px;width:100%;height:100%;background:#DDDDDB url('/viner/Public/images/bodybg.jpg');text-align:center;padding-top: 20%;">
	<h1>
		
		<img src="/viner/Public/images/logo.png" height="150px" alt="logo" /><br>
		<img src='/viner/Public/images/loading.gif'/><font color="#15428B">正在加载中···</font>
	</h1> -->
</div>
<!--遮罩显示end-->

<!-- easyui CSS 文件 -->
 <link rel=icon type="image/x-icon" href="/viner/Public/favicon.ico" >


<link rel="stylesheet" type="text/css" href="/viner/Public/js/jquery-easyui-1.7.0/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="/viner/Public/js/jquery-easyui-1.7.0/themes/icon.css">
<link rel="stylesheet" type="text/css" href="/viner/Public/js/jquery-easyui-1.7.0/demo/demo.css">
<link rel="stylesheet" type="text/css" href="/viner/Public/js/jquery-easyui-1.7.0/themes/icon_my.css">
<link href="/viner/Public/js/jquery-easyui-1.7.0/themes/icons/icon-all.css" type="text/css" rel="stylesheet">

<link rel="stylesheet" href="/viner/Public/Huploadify-master/Huploadify.css" />

	 
<script type="text/javascript" src="/viner/Public/js/jquery-easyui-1.7.0/jquery.min.js"></script>

<script type="text/javascript" src="/viner/Public/js/jquery-easyui-1.7.0/jquery.easyui.min.js"></script>
<script src="/viner/Public/js/jquery-easyui-1.7.0/locale/easyui-lang-zh_CN.js" type="text/javascript"></script>
<script src="/viner/Public/Huploadify-master/jquery.Huploadify.js"></script>


<!--
 * @Author: your name
 * @Date: 2020-09-26 16:56:47
 * @LastEditTime: 2020-09-27 08:53:32
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \wallhaven\Application\Home\View\Public\west.html
-->
<div data-options="region:'west',title:'※ 欢迎您使用本系统 ※',split:true,hideCollapsedContent:false" style="width: 210px;">
    <div id="layout_west_accordion" class="easyui-accordion" data-options="fit:true,border:false">
    	<ul id="main_tree" class="easyui-tree"></ul>  



    </div>
</div>
<script>

    var tree_json = [{
        "id": 1,
        "text": "Wallhaven",
        "iconCls": "icon-standard-palette",
        "children": [{
            "id": 3,
            "text": "VIN码计算",
            "checked": true,
            "name": 'Home/Vin/cal',
            "iconCls": 'icon-standard-application-side-list'
        },
            {
                "id": 2,
                "text": "VIN码查询",
                "checked": true,
                "name": 'Home/Vin/index',
                "iconCls": 'icon-standard-application-side-list'
            }]
    }];

  $('#main_tree').tree({
  	data:tree_json,
	onClick: function(node){
		addTab(node)  // 在用户点击的时候提示
	}
});







  
function addTab(node){

if(node.id!=1){
	    if ($('#main_tab').tabs('exists', node.text)){
                    $('#main_tab').tabs('select', node.text);    
                } else {
    $('#main_tab').tabs('add',{ 
    title:node.text, 
    iconCls:node.iconCls,  
    fit:true,
    href:'/viner/index.php/'+node.name,
    loadingMessage:node.text+'正在载进中…',
    closable:true  
});
    }

}




}


</script>


	
	
 <div data-options="region:'center',title:''"  style="padding: 0px; background: #eee;">
	    <div id="main_tab" class="easyui-tabs" data-options="fit:true,border:false">
			<div title='主页' style="padding: 10px" data-options="iconCls:'icon-standard-house'">
	               <style>
    .ggdlist li {
        padding: 5px 0 0 20px;
    }

    .ggdlist li a:link {
        text-decoration: none;
    }

    .ggddiv, .ggdlist li a {
        font-size: 16px;
    }

    .linkbar li {
        padding: 2px;
        list-style-type: none;
    }

    .linkbar li a {
        text-decoration: none;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
        -webkit-user-select: none;
        -moz-user-focus: none;
        -moz-user-select: none;
    }

    .linkicon2 {
        width: 20px;
        height: 25px;
        border: 0px;
        margin-bottom: -7px;
        margin-right: 3px;
    }
</style>
<table width="90%" border="0" cellspacing="10">
    <tr>
        <td align="left" valign="top">
            <div id="p1" class="easyui-panel" title="系统信息"
                 style="width:90%;padding:0px;background:#fafafa;padding: 10px;"
                 data-options="iconCls:'icon-standard-application-home',closable:false,
                collapsible:true,minimizable:false,maximizable:false">

                <div class="demo-info">
                    <div class="demo-tip icon-tip"></div>
                    <div><b>欢迎使用<?php echo (C("APPNAME")); ?></b></div>
                    <br/>

                    <div class='smwd'>版本：<?php echo (C("APPVERSION")); ?></div>
                    <div class='smwd'>功能：<?php echo (C("APPFUNCTION")); ?></div>

                </div>
            </div>
        </td>
    </tr>
</table>
 		
			</div>
		</div>
	 
	</div>  

        
</body>  


    <script type="text/javascript">
    	var URL = "/viner/index.php/Home/Index";
        var APP = "/viner/index.php";
        var PUBLIC = "/viner/Public";
        var ROOT = "/viner";
        var GROUP_ID = "<?php echo ($_SESSION['group_id']); ?>";
        var UID = "<?php echo ($_SESSION['uid']); ?>";

    </script>

</html>